package com.company.project.mapper.ldjsc.styj;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.company.project.entity.ldjsc.styj.JscwzStyjJjtyEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 *
 *
 * @author wenbin
 * @email *****@mail.com
 * @date 2025-08-19 16:07:35
 */
@Mapper
public interface JscwzStyjJjtyMapper extends BaseMapper<JscwzStyjJjtyEntity> {

    @Select("select update_time,id,model,type,title,sub_title,detail,source,date,index_name,time_type from jscwz_styj_jjty where trim(sub_title) =#{sub_title} ORDER BY update_time desc")
    List<JscwzStyjJjtyEntity> selectBySubTitle(String sub_title);
}
